<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Prozor</title>
        <script type="text/javascript">
          function potvrda() {
              var potvrda = window.confirm("Briši to židovsko sranje ?");
              if (potvrda) {
                  alert("Normalno");
              }

          }

          function trazi() {
              // window.find("google");
              window.find();
          }

          function odiNa() {
              window.open("Objekti.html", "odi na ", "width=300,height=200,menubar=yes,resizable=yes");
              window.moveTo(50,50)
          }
        </script>
    </head>
    <body>
        <form name="f1" method="post" enctype="text/plain">
            <a title="google" id="a" href="http://www.google.com">google</a>
            <button type="button" onclick="potvrda();">Potvrda</button>
            <button type="button" onclick="trazi();">Find</button>
            <button type="button" onclick="window.home();">Home</button>
            <button type="button" onclick="window.print();">Ispis</button>
            <button type="button" onclick="odiNa();">Odi na</button>
        </form>
        <script type="text/javascript">
          var polje = document.getElementById("a");
          a.onclick = function () {
              var potvrda = window.confirm("odi na google ?");
              return potvrda;
          }
          window.setInterval(function(){           alert("Timer divlja")
          },10000)
        </script>
    </body>
</html>